<?php

declare(strict_types=1);

namespace App\Model\Arts;

use App\Model\Model;

class DemoModel extends Model
{
    /**
     * The table associated with the model.
     *
     * @var ?string
     */
    protected ?string $table = 'admin_role';

    protected ?string $dateFormat = 'U';
    public bool       $timestamps = false;
    public int $is_status_search = 1;// 默认使用 1 执行筛选 status = 1
    public int $is_delete_search = 1;// 默认使用 1 执行筛选 is_delete = 0

    /**
     * 默认查询字段
     *
     * @var array|string[]
     */
    public array $select = [
        '*'
    ];
}
